<?php
namespace app\common\model;

use think\Model;

class DispatchLog extends Model
{
    
    protected $autoWriteTimestamp = true;
    
    public function admin()
    {
        return $this->hasOne('Admin','id','admin_id')->field('id,nick_name');
    }
}
